<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>链接按钮之图标对齐 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Icon Align on LinkButton">链接按钮之图标对齐</h2>
	<p title="Change the icon align to place icon on left, right, top or bottom of button.">　　变更图标的对齐方式可将图标放置到按钮的左、右、顶部或底部。</p>
	<div style="margin:10px 0 40px 0;"></div>
	<div style="margin:10px 0 20px 0">
		<span title="Select Icon Align: ">选择图标对齐方式：</span>
		<select onchange="$('#button-bar a').linkbutton({iconAlign:this.value})">
			<option value="left">左侧</option>
			<option value="right">右侧</option>
			<option value="top">顶部</option>
			<option value="bottom">底部</option>
		</select>
	</div>
	<div id="button-bar">
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add'">新增</a>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove'">删除</a>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save'">保存</a>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cut',disabled:true">剪切</a>
	</div>
</body>
</html>